export default [
    {
        path: "yonghuadd",
        name: "IndexyonghuAdd",
        component: () => import("@/views/yonghu/webadd"),
        meta: { title: "用户添加" },
    },
    {
        path: "liuyanbanadd",
        name: "IndexliuyanbanAdd",
        component: () => import("@/views/liuyanban/webadd"),
        meta: { title: "留言板添加", authLogin: true, msg: true },
    },
    {
        path: "pinglunadd",
        name: "IndexpinglunAdd",
        component: () => import("@/views/pinglun/webadd"),
        meta: { title: "评论添加", authLogin: true, msg: true },
    },
    {
        path: "pinglunhuifuadd",
        name: "IndexpinglunhuifuAdd",
        component: () => import("@/views/pinglunhuifu/webadd"),
        meta: { title: "评论回复添加", authLogin: true, msg: true },
    },
    {
        path: "shoucangadd",
        name: "IndexshoucangAdd",
        component: () => import("@/views/shoucang/webadd"),
        meta: { title: "收藏添加", authLogin: true, msg: true },
    },
    {
        path: "xuexiziliao",
        name: "IndexxuexiziliaoList",
        component: () => import("@/views/xuexiziliao/index"),
        meta: { title: "学习资料列表" },
    },
    {
        path: "xuexiziliaodetail",
        name: "IndexxuexiziliaoDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/xuexiziliao/webdetail"),
        meta: { title: "学习资料详情" },
    },
    {
        path: "gonggao",
        name: "IndexgonggaoList",
        component: () => import("@/views/gonggao/index"),
        meta: { title: "公告列表" },
    },
    {
        path: "gonggaodetail",
        name: "IndexgonggaoDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/gonggao/webdetail"),
        meta: { title: "公告详情" },
    },
];
